home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 9943 / 9943.xpi / content / options.xul < prev    next >
Extensible Markup Language  |  2009-06-05  |  5KB  |  112 lines

  1. <?xml version="1.0"?>
  2.  
  3. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  4.  
  5. <!DOCTYPE window SYSTEM "chrome://searchcloudlet/locale/searchcloudlet.dtd" >
  6.  
  7. <dialog id="stumble_pref_dialog" title="&cloudlet.options.title;"
  8.   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  9.   xmlns:html="http://www.w3.org/1999/xhtml"
  10.   buttons="accept,cancel"
  11.   style="min-width:300px;"
  12.   ondialogaccept="return searchcloudlet_options.doOK();"
  13.   ondialogcancel="return searchcloudlet_options.doCancel();"
  14.   onload="searchcloudlet_options.init()">
  15.  
  16. <stringbundleset id="stringbundleset">
  17.     <stringbundle id="strings" src="chrome://searchcloudlet/locale/cloudlet.properties"/>
  18. </stringbundleset>
  19.  
  20. <script type="application/x-javascript" src="chrome://searchcloudlet/content/prefman.js"/>
  21. <script type="application/x-javascript" src="options.js"/>
  22.  
  23. <tabbox id="prefs_tabbox">
  24. <tabs>
  25.     <tab id="integrate_tab"
  26.         label="&cloudlet.options.integrate;"/>
  27.     <tab id="appearance_tab"
  28.         label="&cloudlet.options.appearance;"/>
  29.     <tab id="actions_tab"
  30.         label="&cloudlet.options.actions;"/>    
  31. </tabs>
  32. <tabpanels>
  33. <tabpanel id="integrate_panel"
  34.     orient="vertical">
  35.     <groupbox id="google">
  36.     <caption id="google-caption" label="&cloudlet.options.google;"/>
  37.     <checkbox id="websearch" label="&cloudlet.options.google.web;" checked="true"/>
  38.     <checkbox id="news" label="&cloudlet.options.google.news;" checked="true"/>
  39.     <checkbox id="blogsearch" label="&cloudlet.options.google.blogs;" checked="true"/>
  40.     <checkbox id="scholar" label="&cloudlet.options.google.scholar;" checked="true"/>
  41.     <checkbox id="products" label="&cloudlet.options.google.products;" checked="true"/>
  42.     </groupbox>
  43.     <groupbox id="yahoo">
  44.     <caption id="yahoo-caption" label="&cloudlet.options.yahoo;"/>
  45.     <checkbox id="yahoo.web" label="&cloudlet.options.yahoo.web;" checked="true"/>
  46.     <checkbox id="yahoo.news" label="&cloudlet.options.yahoo.news;" checked="true"/>
  47.     </groupbox>
  48.     <groupbox id="twitter">
  49.     <caption id="twitter-caption"     label="&cloudlet.options.twitter;"/>
  50.     <checkbox id="twitter.search"     label="&cloudlet.options.twitter.search;" checked="true"/>
  51.     <checkbox id="twitter.user.my"    label="&cloudlet.options.twitter.user.my;" tooltiptext="&cloudlet.options.twitter.user.my.tooltip;" checked="true"/>
  52.     <checkbox id="twitter.user.other" label="&cloudlet.options.twitter.user.other;" tooltiptext="&cloudlet.options.twitter.user.other.tooltip;" checked="true"/>
  53.     </groupbox>
  54.  
  55. </tabpanel>
  56. <tabpanel id="appearance_panel"
  57.     orient="vertical">
  58.     <hbox align="end">
  59.     <label value="&cloudlet.options.maxtags;"/>
  60.     <!--<spacer flex="1"/>-->
  61.     <textbox id="max-tags" type="number" value="50" min="5" max="100" style="max-width:4em;"/>
  62.     </hbox>
  63.     <separator orient="horizontal"/>
  64.     <label value="&cloudlet.options.fontsize;"/>
  65.     <hbox>
  66.     <scale id="font-size" value="100" min="50" max="150" flex="1" onchange="return searchcloudlet_options.fontSizeChanged();"/>
  67.     <label id="percents"  value="100%"/>
  68.     </hbox>
  69.         <!--<hbox>
  70.       <label id="small-tag"  style="font-size:12px;"  value="Small"/>
  71.       <label id="medium-tag" style="font-size:27px;"   value="Medium"/>
  72.       <label id="large-tag"  style="font-size:42px;"   value="Large"/>
  73.     </hbox>-->
  74.     <html:div>
  75.       <html:span id="small-tag"  style="font-size:12px;" >&cloudlet.options.small; </html:span>
  76.       <html:span id="medium-tag" style="font-size:27px;" >&cloudlet.options.medium; </html:span>
  77.       <html:span id="large-tag"  style="font-size:42px;" >&cloudlet.options.large;</html:span>
  78.     </html:div>
  79.     <spacer flex="1"/>
  80.     <hbox align="end">
  81.     <spacer flex="1"/>
  82.     <button label="&cloudlet.options.default;" oncommand="return searchcloudlet_options.doDefault();"/>
  83.     </hbox>
  84.     </tabpanel>
  85.     <tabpanel id="actions_tab"
  86.         orient="vertical">
  87.         <groupbox>
  88.         <caption id="hyperlinks-caption" label="&cloudlet.options.hyperlinks;"/>
  89.         <checkbox id="doublelinks" label="&cloudlet.options.doublelinks;" checked="true" oncommand="return searchcloudlet_options.doubleLinksChecked();"/>
  90.         <hbox>
  91.         <separator orient="vertical"/>
  92.         <checkbox id="doublelinkscolor" label="&cloudlet.options.doublelinkscolor;" checked="true"/>
  93.         </hbox>
  94.         <html:div id="doublelinkexample" style="font-size:20px;color:#00c;" onmouseover="return searchcloudlet_options.dlMouseOver(event);" onmouseout="return searchcloudlet_options.dlMouseOut(event);" onclick="return searchcloudlet_options.dlMouseClick(event);">
  95.                <html:a id="dl-0" href="#">exam</html:a><html:a id="dl-1" href="#">ple</html:a>
  96.         </html:div>
  97.         <description>&cloudlet.options.doublelinks.part0;</description>
  98.           <description>&cloudlet.options.doublelinks.part1;</description>
  99.           <description id="dltext-0">&cloudlet.options.doublelinks.part2;</description>        
  100.           <description id="dltext-1">&cloudlet.options.doublelinks.part3;</description>
  101.           </groupbox>
  102.           <groupbox>
  103.         <caption id="SCSC-caption" label="&cloudlet.options.SCSC;"/>
  104.         <checkbox id="useSCSC" label="&cloudlet.options.useSCSC;" checked="false"/>
  105.           </groupbox>
  106.                   
  107.         
  108.     </tabpanel>
  109. </tabpanels>
  110. </tabbox>
  111. </dialog>
  112.